package com.llvision.ndkdemoprocessdemo.utils;

import android.util.Log;

/**
 * todo
 *
 * @author liuhui
 * @date 2019/1/5
 */
public class NdkUtil {
    public static final String TAG = NdkUtil.class.getSimpleName();

    // Used to load the 'native-lib' library on application startup.
    static {
        System.loadLibrary("ndk_util_jni");
        Log.i(TAG, "NdkUtil -> static block");

    }

    public NdkUtil() {
        Log.i(TAG, "NdkUtil()");
    }

    /**
     * A native method that is implemented by the 'native-lib' native library,
     * which is packaged with this application.
     */
    public static native String stringFromJNI();

    public static native void nativeProtect(String pid);


}
